package com.neusoft.ecommerce.entity;
/**
 * 
 * @author Alouette~
 *
 */
public class Trolley extends AbstractToString{
	private Integer trolleyNo;
	//外键
	
	private UserMessage userMessage;
	//外键
	
	private Goods goods;

	public Trolley() {
		super();
	}

	public Trolley(Integer trolleyNo, UserMessage userMessage, Goods goods) {
		super();
		this.trolleyNo = trolleyNo;
		this.userMessage = userMessage;
		this.goods = goods;
	}

	public Trolley(Integer trolleyNo) {
		this.trolleyNo = trolleyNo;
	}

	/**
	 * @return the trolleyNo
	 */
	public Integer getTrolleyNo() {
		return trolleyNo;
	}

	/**
	 * @param trolleyNo the trolleyNo to set
	 */
	public void setTrolleyNo(Integer trolleyNo) {
		this.trolleyNo = trolleyNo;
	}

	/**
	 * @return the userMessage
	 */
	public UserMessage getUserMessage() {
		return userMessage;
	}

	/**
	 * @param userMessage the userMessage to set
	 */
	public void setUserMessage(UserMessage userMessage) {
		this.userMessage = userMessage;
	}

	/**
	 * @return the goods
	 */
	public Goods getGoods() {
		return goods;
	}

	/**
	 * @param goods the goods to set
	 */
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	
}
